import React from 'react';
import './index.less';

class ToDoFooter extends React.Component {
  render() {
    const {clearAll} = this.props;
    return (
            <div className="clearAll">
              <button onClick={()=>clearAll()}>全部清空</button>
            </div>
    );
  }
}

export default ToDoFooter;
